home *** CD-ROM | disk | FTP | other *** search
- @echo off
- rem Start virus scanning with Norman Virus Control...
- nvc /ald /cl /y /lfc:\nvc.rpt /o /sn
- if errorlevel 9 goto error9
- if errorlevel 8 goto error8
- if errorlevel 7 goto error7
- if errorlevel 6 goto error6
- if errorlevel 5 goto error5
- if errorlevel 4 goto error4
- if errorlevel 3 goto error3
- if errorlevel 2 goto error2
- if errorlevel 1 goto error1
- echo Your machine is virus-free!
- goto continue
- :error9
- echo Something has interrupted your scan!
- goto notinstalled
- :error8
- echo Scanner system error!
- goto notinstalled
- :error7
- echo Not enough memory to run NVC.EXE!
- goto notinstalled
- :error6
- echo Cannot read your drive!
- goto notinstalled
- :error5
- rem this means scanning criteria were not valid
- goto continue
- :error4
- rem this is an unused error trap
- goto continue
- :error3
- rem this means scanning criteria were not provided.
- rem but they were!
- goto continue
- :error2
- echo A virus was detected in your computer's memory!
- echo Please turn the computer off, boot with a clean UNINFECTED disk,
- echo and repeat this installation.
- :hang
- goto hang
- :error1
- echo A virus was found in your boot area or one of your files.
- pause
- type c:\nvc.rpt
- pause
- goto continue
- :notinstalled
- echo Norman Armour was not installed.
- goto done
- :continue
- nvcinst
- pause
- cls
- :done
-